import type { RouteRecordRaw } from "vue-router";

 const routes : RouteRecordRaw[] = [
    {
        path:'/permission',
        name:'permission',
        component: () => import('@/views/permission/index.vue'),
        meta: {
            title:'权限',
            requireAuth:true
        },
        children: [
            {
                path:'/permission/edit',
                name:'permission_edit',
                component:()=> import('@/views/permission/edit.vue')
            }
        ]
    }
 ]

export default routes